package kandl.automation.steprunner.selenium.commands;


import kandl.automation.steprunner.selenium.Command;

import org.openqa.selenium.WebDriver;
import org.springframework.stereotype.Component;

@Component
class TitleGetter implements Command {
    @Override
    public void runCommand(WebDriver driver, String... params) {
        driver.getTitle();
    }

    @Override
    public String getName() {
        return "get_title";
    }
}